package cn.com.api.service.base;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Service;
import cn.com.api.entity.ApiT_order;

/**
 * 
 */
@Service
public interface T_orderServiceBase {

	// 根据id查看
	public ApiT_order findT_orderById(Integer id);

	// 根据ordernum查看
	public ApiT_order findT_orderByOrderNum(String orderNum);

	// 查看数据集
	public List<ApiT_order> findT_orders();

	// 根据条件查看数据集
	public List<Map<String, Object>> findT_ordersByMap(HashMap condition);

	// 添加
	public int insertT_order(ApiT_order t_order);

	// 修改
	public int updateT_order(ApiT_order t_order);

	// 删除
	public int deleteT_order(Integer id);

	// Foreign keys revelant

	// region Indexs revelant

}
